//
//  ZCMVPlayerTableViewCell.m
//  VoiceMusic
//
//  Created by dllo on 15/10/22.
//  Copyright © 2015年 zhangdeyu. All rights reserved.
//

#import "ZCMVPlayerTableViewCell.h"
#import "ZCBaseLabel.h"
#import <Masonry.h>
@implementation ZCMVPlayerTableViewCell

- (void)layoutSubviews
{
    [super layoutSubviews];
    [self.picImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.contentView.mas_top).offset(10);
        make.bottom.equalTo(self.contentView.mas_bottom).offset(-10);
        make.left.equalTo(self.contentView.mas_left).offset(10);
        make.width.equalTo(@175);
    }];
    
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.picImageView.mas_right).offset(10);
        make.right.equalTo(self.contentView.mas_right).offset(-10);
        make.top.equalTo(self.contentView.mas_top).offset(10);
        make.bottom.equalTo(self.contentView.mas_bottom).offset(-30);
    }];
    self.titleLabel.font = [UIFont systemFontOfSize:18];
    
    [self.detailLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.picImageView.mas_right).offset(10);
        make.right.equalTo(self.contentView.mas_right).offset(-10);
        make.top.equalTo(self.titleLabel.mas_top).offset(10);
        make.bottom.equalTo(self.contentView.mas_bottom);
    }];
    self.detailLabel.font = [UIFont systemFontOfSize:14];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
